/*
 This file is part of BTStracker
		
    BTStracker is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    BTStracker is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Foobar.  If not, see <http://www.gnu.org/licenses/>.	
	author: azbest.pro (azbest.pro@gmail.com)
*/
package pl.vdl.azbest.mremote.probe.signal;

/**
 * Data received from MT (Mobile terminal) about sigal , cell id and Location
 * area Id
 */
public class CellSignalData {
	private String time=""; // date and time of mesurment

	private String signal=""; // ignal level

	private String LAI=""; // Location Area Identifier

	private String CI="";// Cell Identifier

	public String getCI() {
		return CI;
	}

	public void setCI(String ci) {
		CI = ci;
	}

	public String getLAI() {
		return LAI;
	}

	public void setLAI(String lai) {
		LAI = lai;
	}

	public String getSignal() {
		return signal;
	}

	public void setSignal(String signal) {
		this.signal = signal;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String toString() {

		return "---" + "Time=" + this.time + "\n" + "Signal=" + this.signal
				+ "\n" + "LAI (LocationAreaID)" + this.LAI + "\n" + "CellID"
				+ this.CI + "\n" + "---";
	}

	public boolean isFull() {
		if (this.CI.length() > 0 && this.LAI.length() > 0
				&& this.signal.length() > 0 && this.time.length() > 0) {
			return true ;
		}
		else return false ;
	}
}
